StoreKeeper\WooCommerce\B2C\Imports\ShippingMethodImport A

Total Complexity 52
Dependencies 11
Dependents 3
Total lines 395
Lines of code 286
Logical lines of code 143
Comment lines 23
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
processShippingMethod()
A
40 9 62
removeOrphanedShippingZonesByMethodCountry()
S
52 6 25
deleteShippingMethodAndOrphanedShippingZones()
S
53 5 23
processItem()
S
55 5 20
ensureShippingZone()
S
46 3 45
afterRun()
S
58 4 16
ensureShippingMethod()
S
52 3 25
isShippingTypeValid()
S
64 4 9
getWoocommerceShippingMethodType()
S
61 3 12
createNewShippingMethodInstance()
S
54 2 21
__construct()
S
71 2 5
getModule()
S
82 1 3
getImportEntityName()
S
79 1 3
getLanguage()
S
82 1 3
getFilters()
S
69 1 8
getFunction()
S
82 1 3
saveShippingMethodInstance()
S
76 1 3